package com.itheima.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.dao.ClearOrderSettingDao;
import com.itheima.service.ClearOrderSettingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

/**
 * @PackageName: com.itheima.service.impl
 * @ClassName: ClearOrderSetting
 * @Author: WangZhe
 * @Date: 2020/1/6 11:20
 * @Description: //TODO
 */

@Service(interfaceClass = ClearOrderSettingService.class)
@Transactional
public class ClearOrderSettingServiceImpl implements ClearOrderSettingService {

    @Autowired
    private ClearOrderSettingDao clearOrderSettingDao;

    public void clearorderSetting(String date){
        clearOrderSettingDao.clearOrderSetting(date);
    }

}
